
<div class="form-group">
	<label class="col-sm-2 control-label">商户地址</label>
	<div class="col-sm-9 col-xs-12">
			 
		<p class='form-control-static'>
			
			<a onclick="shareURL('{$_W['siteroot']}web/merchant.php?i={$_W['uniacid']}')" title='点击复制链接'  >
				{$_W['siteroot']}web/merchant.php?i={$_W['uniacid']}
			</a>
			<span style="cursor: pointer;" data-toggle="popover" data-trigger="hover" data-html="true"
				  data-content="<img src='{$qrcode}' width='130' alt='链接二维码'>" data-placement="auto right">
				<i class="glyphicon glyphicon-qrcode"></i>
			</span>
		</p>
	</div>
</div>

<div class="form-group">
	<label class="col-sm-2 control-label">登录页面宣传图</label>
	<div class="col-sm-9 col-xs-12">
		{ifp 'merch.set.edit'}
		{php echo tpl_form_field_image('data[regpic]',$data['regpic'],'../addons/ewei_shopv2/plugin/merch/template/mobile/default/static/images/regbg.png')}
		<span class="help-block">入驻宣传封面 建议尺寸400 * 180</span>
		{else}
		{if empty($data['regbg'])}
		<img src="../addons/ewei_shopv2/plugin/merch/template/mobile/default/static/images/regbg.png" onerror="this.src='../addons/ewei_shopv2/plugin/merch/template/mobile/default/static/images/regbg.png'; this.title='图片未找到.'" class="img-responsive img-thumbnail" width="150">
		{else}
		<img src="{php echo tomedia($data['regpic'])}" onerror="this.src='../addons/ewei_shopv2/plugin/merch/template/mobile/default/static/images/regbg.png'; this.title='图片未找到.'" class="img-responsive img-thumbnail" width="150">
		{/if}
		{/if}
	</div>
</div>
</form>